<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: mrcp_application.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_13a7f99e8eeb4b54f0ce1b9167967433.html">mrcp-client</a></li><li class="navelem"><a class="el" href="dir_bc11219a80d5d3e874fc77c57b67a9c9.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">mrcp_application.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mrcp__application_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright 2008-2015 Arsen Chaloyan</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#ifndef MRCP_APPLICATION_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MRCP_APPLICATION_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * @file mrcp_application.h</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * @brief MRCP User Level Application Interface</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span> </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mrcp__client__types_8h.html">mrcp_client_types.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mpf__rtp__descriptor_8h.html">mpf_rtp_descriptor.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mpf__stream_8h.html">mpf_stream.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<a class="code" href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">/** MRCP application message declaration */</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#ae448190a075a072b0bc52b0bf9a0418f">   32</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmrcp__app__message__t.html">mrcp_app_message_t</a> <a class="code" href="structmrcp__app__message__t.html">mrcp_app_message_t</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">/** MRCP signaling message declaration */</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#adf0d93ec405ee5a5214023275f0ec46a">   35</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmrcp__sig__message__t.html">mrcp_sig_message_t</a> <a class="code" href="structmrcp__sig__message__t.html">mrcp_sig_message_t</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">/** MRCP application message dispatcher declaration */</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a5c85557002f37115b7eadff816675723">   38</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmrcp__app__message__dispatcher__t.html">mrcp_app_message_dispatcher_t</a> <a class="code" href="structmrcp__app__message__dispatcher__t.html">mrcp_app_message_dispatcher_t</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">/** MRCP application message handler */</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a27f481ce7618aa4605b97df0f45c5c68">   41</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="mrcp__application_8h.html#a27f481ce7618aa4605b97df0f45c5c68">mrcp_app_message_handler_f</a>)(<span class="keyword">const</span> <a class="code" href="structmrcp__app__message__t.html">mrcp_app_message_t</a> *app_message);</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">/** Enumeration of MRCP signaling message types */</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65e">   44</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65eaf2f19f2c3bc2fc190ae736a4a77b8421">   45</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65eaf2f19f2c3bc2fc190ae736a4a77b8421">MRCP_SIG_MESSAGE_TYPE_REQUEST</a>,  <span class="comment">/**&lt; request message */</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65eafe7dc4a28d8c0dcc91caa8a85d8f3169">   46</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65eafe7dc4a28d8c0dcc91caa8a85d8f3169">MRCP_SIG_MESSAGE_TYPE_RESPONSE</a>, <span class="comment">/**&lt; response message */</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65ea630572e918bf1e5906101b5d3c246432">   47</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65ea630572e918bf1e5906101b5d3c246432">MRCP_SIG_MESSAGE_TYPE_EVENT</a>     <span class="comment">/**&lt; event message */</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;} <a class="code" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65e">mrcp_sig_message_type_e</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">/** Enumeration of MRCP signaling status codes */</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">   51</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bbaf38d184fa75e52f69dab74c0065ecc0a">   52</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bbaf38d184fa75e52f69dab74c0065ecc0a">MRCP_SIG_STATUS_CODE_SUCCESS</a>,   <span class="comment">/**&lt; indicates success */</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba063f44b76be5552fe1248c11d4edbb54">   53</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba063f44b76be5552fe1248c11d4edbb54">MRCP_SIG_STATUS_CODE_FAILURE</a>,   <span class="comment">/**&lt; request failed */</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba502f4e523dc78289fffdca1a94cf8448">   54</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba502f4e523dc78289fffdca1a94cf8448">MRCP_SIG_STATUS_CODE_TERMINATE</a>, <span class="comment">/**&lt; request failed, session/channel/connection unexpectedly terminated */</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba84bb3c3c961613d064e6dd7bf6b11cd8">   55</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba84bb3c3c961613d064e6dd7bf6b11cd8">MRCP_SIG_STATUS_CODE_CANCEL</a>     <span class="comment">/**&lt; request cancelled */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;} <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">/** Enumeration of MRCP signaling commands (requests/responses) */</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a3c79d913113116c45f4bcd43073d2675">   60</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    MRCP_SIG_COMMAND_SESSION_UPDATE,</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    MRCP_SIG_COMMAND_SESSION_TERMINATE,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    MRCP_SIG_COMMAND_CHANNEL_ADD,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    MRCP_SIG_COMMAND_CHANNEL_REMOVE,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    MRCP_SIG_COMMAND_RESOURCE_DISCOVER</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;} <a class="code" href="mrcp__application_8h.html#a3c79d913113116c45f4bcd43073d2675">mrcp_sig_command_e</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">/** Enumeration of MRCP signaling events */</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#a01f412c63628b93da4b822bf6b60892a">   69</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    MRCP_SIG_EVENT_TERMINATE</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;} <a class="code" href="mrcp__application_8h.html#a01f412c63628b93da4b822bf6b60892a">mrcp_sig_event_e</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">/** Enumeration of MRCP application message types */</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6">   75</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6ac3d51554502aba17deaeeb6d8a9e5c0a">   76</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6ac3d51554502aba17deaeeb6d8a9e5c0a">MRCP_APP_MESSAGE_TYPE_SIGNALING</a>, <span class="comment">/**&lt; signaling message type */</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6a3cb99afb70f466835148e6169fef9869">   77</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6a3cb99afb70f466835148e6169fef9869">MRCP_APP_MESSAGE_TYPE_CONTROL</a>    <span class="comment">/**&lt; control message type */</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;} <a class="code" href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6">mrcp_app_message_type_e</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">/** MRCP signaling message definition */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structmrcp__sig__message__t.html">   81</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmrcp__sig__message__t.html">mrcp_sig_message_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment">    /** Message type (request/response/event) */</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structmrcp__sig__message__t.html#a79f824e331394c2348f6c519e767a494">   83</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65e">mrcp_sig_message_type_e</a> <a class="code" href="structmrcp__sig__message__t.html#a79f824e331394c2348f6c519e767a494">message_type</a>;<span class="comment"></span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">    /** Command (request/response) identifier */</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structmrcp__sig__message__t.html#ae44f78af43f0062365360c91887244dc">   85</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a3c79d913113116c45f4bcd43073d2675">mrcp_sig_command_e</a>      <a class="code" href="structmrcp__sig__message__t.html#ae44f78af43f0062365360c91887244dc">command_id</a>;<span class="comment"></span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment">    /** Event identifier */</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structmrcp__sig__message__t.html#ab9ab94cdda749b1b1c28d4daa30abf15">   87</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a01f412c63628b93da4b822bf6b60892a">mrcp_sig_event_e</a>        <a class="code" href="structmrcp__sig__message__t.html#ab9ab94cdda749b1b1c28d4daa30abf15">event_id</a>;<span class="comment"></span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">    /** Status code used in response */</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structmrcp__sig__message__t.html#a31628a9c9c9d14e4b1fdfb0e9ddc5e86">   89</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a>  <a class="code" href="structmrcp__sig__message__t.html#a31628a9c9c9d14e4b1fdfb0e9ddc5e86">status</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;};</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">/** MRCP application message definition */</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html">   94</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmrcp__app__message__t.html">mrcp_app_message_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment">    /** Message type (signaling/control) */</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html#ae9ad74db4f0997f0c637c1f681ae9f68">   96</a></span>&#160;    <a class="code" href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6">mrcp_app_message_type_e</a> <a class="code" href="structmrcp__app__message__t.html#ae9ad74db4f0997f0c637c1f681ae9f68">message_type</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">    /** Application */</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html#a712d7d9a6d02db9371cd0686a2325ed4">   99</a></span>&#160;    <a class="code" href="structmrcp__application__t.html">mrcp_application_t</a>        *<a class="code" href="structmrcp__app__message__t.html#a712d7d9a6d02db9371cd0686a2325ed4">application</a>;<span class="comment"></span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">    /** Session */</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html#abd5fd40915a5fc7a25721d77abc98594">  101</a></span>&#160;    <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a>            *<a class="code" href="structmrcp__app__message__t.html#abd5fd40915a5fc7a25721d77abc98594">session</a>;<span class="comment"></span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">    /** Channel */</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html#a351a308a066e1ef2dbf6629bb5ebdc3b">  103</a></span>&#160;    <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a>            *<a class="code" href="structmrcp__app__message__t.html#a351a308a066e1ef2dbf6629bb5ebdc3b">channel</a>;<span class="comment"></span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">    /** Session/resource descriptor */</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html#a041946d43470292dadf35c88c1bf0de9">  105</a></span>&#160;    <a class="code" href="structmrcp__session__descriptor__t.html">mrcp_session_descriptor_t</a> *<a class="code" href="structmrcp__app__message__t.html#a041946d43470292dadf35c88c1bf0de9">descriptor</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">    /** MRCP signaling message (used if message_type == MRCP_APP_MESSAGE_SIGNALING) */</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html#a6367f9c2244de3c5ea54dd86c62ac209">  108</a></span>&#160;    <a class="code" href="structmrcp__sig__message__t.html">mrcp_sig_message_t</a>         <a class="code" href="structmrcp__app__message__t.html#a6367f9c2244de3c5ea54dd86c62ac209">sig_message</a>;<span class="comment"></span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">    /** MRCP control message (used if message_type == MRCP_APP_MESSAGE_CONTROL) */</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structmrcp__app__message__t.html#a6ee86493eea6b80b3b062a52649ae3c5">  110</a></span>&#160;    <a class="code" href="structmrcp__message__t.html">mrcp_message_t</a>            *<a class="code" href="structmrcp__app__message__t.html#a6ee86493eea6b80b3b062a52649ae3c5">control_message</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;};</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment">/** MRCP application message dispatcher interface */</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html">  114</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmrcp__app__message__dispatcher__t.html">mrcp_app_message_dispatcher_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">    /** Response to mrcp_application_session_update()request */</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html#a6b912bdbff092084c59f019261cc1ab3">  116</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__app__message__dispatcher__t.html#a6b912bdbff092084c59f019261cc1ab3">on_session_update</a>)(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a> status);<span class="comment"></span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">    /** Response to mrcp_application_session_terminate()request */</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html#a2377c35b6ecc11599a41b42cfa2f0117">  118</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__app__message__dispatcher__t.html#a2377c35b6ecc11599a41b42cfa2f0117">on_session_terminate</a>)(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a> status);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="comment"></span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="comment">    /** Response to mrcp_application_channel_add() request */</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html#aea6d56ac303405ee9c1126315a03df4d">  121</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__app__message__dispatcher__t.html#aea6d56ac303405ee9c1126315a03df4d">on_channel_add</a>)(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel, <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a> status);<span class="comment"></span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="comment">    /** Response to mrcp_application_channel_remove() request */</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html#ad7400c03ac5b8bf31f0cadbd87624391">  123</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__app__message__dispatcher__t.html#ad7400c03ac5b8bf31f0cadbd87624391">on_channel_remove</a>)(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel, <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a> status);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">    /** Response (event) to mrcp_application_message_send() request */</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html#a85be8634916586e5869023c93a2d203a">  126</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__app__message__dispatcher__t.html#a85be8634916586e5869023c93a2d203a">on_message_receive</a>)(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel, <a class="code" href="structmrcp__message__t.html">mrcp_message_t</a> *message);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">    /** Event indicating unexpected session/channel termination */</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html#a59fb112782f367b44f01eb6bee12490b">  129</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__app__message__dispatcher__t.html#a59fb112782f367b44f01eb6bee12490b">on_terminate_event</a>)(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">    /** Response to mrcp_application_resource_discover() request */</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structmrcp__app__message__dispatcher__t.html#a74cbaa16872fec65cae3331092cfb7c5">  132</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__app__message__dispatcher__t.html#a74cbaa16872fec65cae3331092cfb7c5">on_resource_discover</a>)(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__session__descriptor__t.html">mrcp_session_descriptor_t</a> *descriptor, <a class="code" href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a> status);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;};</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment"> * Create application instance.</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment"> * @param handler the event handler</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="comment"> * @param obj the external object</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment"> * @param pool the pool to allocate memory from</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a>*) <a class="code" href="mrcp__application_8h.html#afc632ad88cd1f1d38a265d28d44726e2">mrcp_application_create</a>(const <a class="code" href="mrcp__application_8h.html#a27f481ce7618aa4605b97df0f45c5c68">mrcp_app_message_handler_f</a> handler, <span class="keywordtype">void</span> *obj, apr_pool_t *pool);</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment"> * Destroy application instance.</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="comment"> * @param application the application to destroy</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#a758a8474a02805a163c03886fdf1786d">mrcp_application_destroy</a>(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="comment"> * Get external object associated with the application.</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="comment"> * @param application the application to get object from</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<span class="keywordtype">void</span>*) <a class="code" href="mrcp__application_8h.html#ab231cb143f6ded6e7ba2cef006b8a26f">mrcp_application_object_get</a>(const <a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment"> * Get dir layout structure.</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment"> * @param application the application to get dir layout from</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(const <a class="code" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a>*) <a class="code" href="mrcp__application_8h.html#ae17675106baeb58a6a2e1099efa76e73">mrcp_application_dir_layout_get</a>(const <a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment"> * Create session.</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment"> * @param application the application to use</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment"> * @param profile the name of the profile to use</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment"> * @param obj the external object</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment"> * @return the created session instance</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a>*) <a class="code" href="mrcp__application_8h.html#a2e11a45cf385b31ec687c8affade6672">mrcp_application_session_create</a>(<a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application, const <span class="keywordtype">char</span> *profile, <span class="keywordtype">void</span> *obj);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="comment"> * Create session using the provided memory pool.</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment"> * @param application the application to use</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment"> * @param profile the name of the profile to use</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="comment"> * @param obj the external object</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment"> * @param take_ownership whether the session takes ownership over the memory pool or not</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment"> * @param pool memory pool to use</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment"> * @return the created session instance</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a>*) <a class="code" href="mrcp__application_8h.html#a0066cf53cae30995df31ac2d527747c1">mrcp_application_session_create_ex</a>(</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <a class="code" href="structmrcp__application__t.html">mrcp_application_t</a> *application,</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        const <span class="keywordtype">char</span> *profile,</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <span class="keywordtype">void</span> *obj, </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> take_ownership,</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        apr_pool_t *pool);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment"> * Get memory pool the session object is created out of.</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="comment"> * @param session the session to get pool from</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(apr_pool_t*) <a class="code" href="mrcp__application_8h.html#aa0d6fc51528904d93d5904ee25109226">mrcp_application_session_pool_get</a>(const <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="comment"> * Get session identifier.</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment"> * @param session the session to get identifier of</span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(const <a class="code" href="structapt__str__t.html">apt_str_t</a>*) <a class="code" href="mrcp__application_8h.html#a10b8aac21d7734372f35e5e14ec9dac8">mrcp_application_session_id_get</a>(const <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="comment"> * Get SIP or RTSP response code.</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="comment"> * @param session the session to use</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<span class="keywordtype">int</span>) <a class="code" href="mrcp__application_8h.html#a3194b792a29893b119a5ce3a5aecf4c0">mrcp_application_session_response_code_get</a>(const <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="comment"> * Get external object associated with the session.</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="comment"> * @param session the session to get object from</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<span class="keywordtype">void</span>*) <a class="code" href="mrcp__application_8h.html#ab87398099443cab22a6977e5253c21ed">mrcp_application_session_object_get</a>(const <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="comment"> * Set (associate) external object to the session.</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="comment"> * @param session the session to set object for</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="comment"> * @param obj the object to set</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<span class="keywordtype">void</span>) <a class="code" href="mrcp__application_8h.html#ac9f84383098ee5f93f20e70a5f3f1d36">mrcp_application_session_object_set</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <span class="keywordtype">void</span> *obj);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="comment"> * Set name of the session (informative only used for debugging).</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="comment"> * @param session the session to set name for</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="comment"> * @param name the name to set</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<span class="keywordtype">void</span>) <a class="code" href="mrcp__application_8h.html#a721c960fc79d77d2ed3280df7bd17a67">mrcp_application_session_name_set</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, const <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="comment"> * Send session update request.</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="comment"> * @param session the session to update</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#a202f14411cbfb96ce8feede0abe560f8">mrcp_application_session_update</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="comment"> * Send session termination request.</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="comment"> * @param session the session to terminate</span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#a37ed6f9b2e21e4e362047c280c9b24e6">mrcp_application_session_terminate</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="comment"> * Destroy client session (session must be terminated prior to destroy).</span></div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="comment"> * @param session the session to destroy</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#ad75b0b29adb71fbc4ab8e0d6353d5066">mrcp_application_session_destroy</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="comment"> * Create control channel.</span></div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="comment"> * @param session the session to create channel for</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="comment"> * @param resource_id the resource identifier of the channel</span></div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment"> * @param termination the media termination</span></div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="comment"> * @param rtp_descriptor the RTP termination descriptor (NULL by default)</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment"> * @param obj the external object</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a>*) <a class="code" href="mrcp__application_8h.html#a86782ad2a4fc6ed228759974bc62b001">mrcp_application_channel_create</a>(</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;                                    <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                                    <a class="code" href="mrcp__types_8h.html#ac9564d152d8fd28e456c258cfff41754">mrcp_resource_id</a> resource_id, </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;                                    <a class="code" href="structmpf__termination__t.html">mpf_termination_t</a> *termination, </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                                    <a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a> *rtp_descriptor, </div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;                                    <span class="keywordtype">void</span> *obj);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment"> * Get external object associated with the channel.</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="comment"> * @param channel the channel to get object from</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<span class="keywordtype">void</span>*) <a class="code" href="mrcp__application_8h.html#ab2367a29f1c7514803dc19a42ce2f71e">mrcp_application_channel_object_get</a>(const <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="comment"> * Get RTP termination descriptor.</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="comment"> * @param channel the channel to get descriptor from</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a>*) <a class="code" href="mrcp__application_8h.html#a6f9c682a32d80485395a42970a26e2f3">mrcp_application_rtp_descriptor_get</a>(const <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="comment"> * Get codec descriptor of source stream.</span></div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="comment"> * @param channel the channel to get descriptor from</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(const <a class="code" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a>*) <a class="code" href="mrcp__application_8h.html#aea8742e4f26002fa2e5e08c725896de2">mrcp_application_source_descriptor_get</a>(const <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="comment"> * Get codec descriptor of sink stream.</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="comment"> * @param channel the channel to get descriptor from</span></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(const <a class="code" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a>*) <a class="code" href="mrcp__application_8h.html#a57d185dc07d7094c73ba970b7ce71b30">mrcp_application_sink_descriptor_get</a>(const <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<span class="comment"> * Get associated audio stream.</span></div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="comment"> * @param channel the channel to get associated stream from</span></div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(const <a class="code" href="structmpf__audio__stream__t.html">mpf_audio_stream_t</a>*) <a class="code" href="mrcp__application_8h.html#a474a157d0430f8fdda8c596b3af1ee11">mrcp_application_audio_stream_get</a>(const <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="comment"> * Send channel add request.</span></div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="comment"> * @param session the session to create channel for</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="comment"> * @param channel the control channel</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#aa3296a3e94fea5dcfc6a2ba458ad8a9d">mrcp_application_channel_add</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="comment"> * Create MRCP message.</span></div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="comment"> * @param session the session</span></div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="comment"> * @param channel the control channel</span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="comment"> * @param method_id the method identifier of MRCP message</span></div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__message__t.html">mrcp_message_t</a>*) <a class="code" href="mrcp__application_8h.html#a48d6b7dbd74c717d55e5a691359c9902">mrcp_application_message_create</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel, <a class="code" href="mrcp__types_8h.html#a70064633d038b77e0d7d982cd881b033">mrcp_method_id</a> method_id);</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="comment"> * Send MRCP message.</span></div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="comment"> * @param session the session</span></div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<span class="comment"> * @param channel the control channel</span></div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="comment"> * @param message the MRCP message to send</span></div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#a1641adef731b4e9e1dadfd915d91b0fd">mrcp_application_message_send</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel, <a class="code" href="structmrcp__message__t.html">mrcp_message_t</a> *message);</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="comment"> * Remove channel.</span></div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="comment"> * @param session the session to remove channel from</span></div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="comment"> * @param channel the control channel to remove</span></div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#a04bdae0afca2298872fc3f0ae54821d6">mrcp_application_channel_remove</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <a class="code" href="structmrcp__channel__t.html">mrcp_channel_t</a> *channel);</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="comment"> * Discover resources.</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="comment"> * @param session the session to use as communication object</span></div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#a027edb6a2dac0630a4c52c8dfb79ab84">mrcp_application_resource_discover</a>(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session);</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="comment"> * Dispatch application message.</span></div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="comment"> * @param dispatcher the dispatcher inteface</span></div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="comment"> * @param app_message the message to dispatch</span></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__application_8h.html#aed58008c85f7c8f3a0976048457b85b6">mrcp_application_message_dispatch</a>(const <a class="code" href="structmrcp__app__message__dispatcher__t.html">mrcp_app_message_dispatcher_t</a> *dispatcher, const <a class="code" href="structmrcp__app__message__t.html">mrcp_app_message_t</a> *app_message);</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="comment"> * Create audio termination</span></div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;<span class="comment"> * @param session the session to create termination for</span></div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;<span class="comment"> * @param stream_vtable the virtual table of audio stream</span></div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<span class="comment"> * @param capabilities the capabilities of the stream</span></div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="comment"> * @param obj the external object</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmpf__termination__t.html">mpf_termination_t</a>*) <a class="code" href="mrcp__application_8h.html#a42c243d5336cc0964dc9ab7b8368153d">mrcp_application_audio_termination_create</a>(</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;                                        <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session,</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;                                        const <a class="code" href="structmpf__audio__stream__vtable__t.html">mpf_audio_stream_vtable_t</a> *stream_vtable,</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;                                        <a class="code" href="structmpf__stream__capabilities__t.html">mpf_stream_capabilities_t</a> *capabilities,</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;                                        <span class="keywordtype">void</span> *obj);<span class="comment"></span></div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;<span class="comment"> * Create source media termination</span></div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="comment"> * @param session the session to create termination for</span></div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;<span class="comment"> * @param stream_vtable the virtual table of audio stream</span></div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<span class="comment"> * @param codec_descriptor the descriptor of audio stream (NULL by default)</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="comment"> * @param obj the external object</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<span class="comment"> * @deprecated @see mrcp_application_audio_termination_create()</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmpf__termination__t.html">mpf_termination_t</a>*) <a class="code" href="mrcp__application_8h.html#a66a658f72b55dbb732061e76f6f8fb2d">mrcp_application_source_termination_create</a>(</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;                                        <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session,</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;                                        const <a class="code" href="structmpf__audio__stream__vtable__t.html">mpf_audio_stream_vtable_t</a> *stream_vtable,</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;                                        <a class="code" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *codec_descriptor,</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;                                        <span class="keywordtype">void</span> *obj);<span class="comment"></span></div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="comment">/** </span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<span class="comment"> * Create sink media termination</span></div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;<span class="comment"> * @param session the session to create termination for</span></div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;<span class="comment"> * @param stream_vtable the virtual table of audio stream</span></div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<span class="comment"> * @param codec_descriptor the descriptor of audio stream (NULL by default)</span></div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="comment"> * @param obj the external object</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="comment"> * @deprecated @see mrcp_application_audio_termination_create()</span></div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmpf__termination__t.html">mpf_termination_t</a>*) <a class="code" href="mrcp__application_8h.html#ad6614e5fead297d54c459d365d6ed139">mrcp_application_sink_termination_create</a>(</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;                                        <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session,</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;                                        const <a class="code" href="structmpf__audio__stream__vtable__t.html">mpf_audio_stream_vtable_t</a> *stream_vtable,</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;                                        <a class="code" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *codec_descriptor,</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;                                        <span class="keywordtype">void</span> *obj);</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<a class="code" href="apt_8h.html#a432919823b38eb7e2b6fa2b544fb1644">APT_END_EXTERN_C</a></div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MRCP_APPLICATION_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="structmpf__audio__stream__t_html"><div class="ttname"><a href="structmpf__audio__stream__t.html">mpf_audio_stream_t</a></div><div class="ttdef"><b>Definition:</b> mpf_stream.h:37</div></div>
<div class="ttc" id="mrcp_8h_html_aa090864b67aead2a1ffdefa43479180e"><div class="ttname"><a href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a></div><div class="ttdeci">#define MRCP_DECLARE(type)</div><div class="ttdef"><b>Definition:</b> mrcp.h:40</div></div>
<div class="ttc" id="mrcp__application_8h_html_ad75b0b29adb71fbc4ab8e0d6353d5066"><div class="ttname"><a href="mrcp__application_8h.html#ad75b0b29adb71fbc4ab8e0d6353d5066">mrcp_application_session_destroy</a></div><div class="ttdeci">apt_bool_t mrcp_application_session_destroy(mrcp_session_t *session)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a403a690cdc78f355c137bb9ee85df65ea630572e918bf1e5906101b5d3c246432"><div class="ttname"><a href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65ea630572e918bf1e5906101b5d3c246432">MRCP_SIG_MESSAGE_TYPE_EVENT</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:47</div></div>
<div class="ttc" id="structmrcp__session__t_html"><div class="ttname"><a href="structmrcp__session__t.html">mrcp_session_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_session.h:49</div></div>
<div class="ttc" id="mrcp__application_8h_html_a303f59c4a8f0fde919e38539f45869bbaf38d184fa75e52f69dab74c0065ecc0a"><div class="ttname"><a href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bbaf38d184fa75e52f69dab74c0065ecc0a">MRCP_SIG_STATUS_CODE_SUCCESS</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:52</div></div>
<div class="ttc" id="structmrcp__app__message__t_html_ae9ad74db4f0997f0c637c1f681ae9f68"><div class="ttname"><a href="structmrcp__app__message__t.html#ae9ad74db4f0997f0c637c1f681ae9f68">mrcp_app_message_t::message_type</a></div><div class="ttdeci">mrcp_app_message_type_e message_type</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:96</div></div>
<div class="ttc" id="mrcp__application_8h_html_ab87398099443cab22a6977e5253c21ed"><div class="ttname"><a href="mrcp__application_8h.html#ab87398099443cab22a6977e5253c21ed">mrcp_application_session_object_get</a></div><div class="ttdeci">void * mrcp_application_session_object_get(const mrcp_session_t *session)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a721c960fc79d77d2ed3280df7bd17a67"><div class="ttname"><a href="mrcp__application_8h.html#a721c960fc79d77d2ed3280df7bd17a67">mrcp_application_session_name_set</a></div><div class="ttdeci">void mrcp_application_session_name_set(mrcp_session_t *session, const char *name)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a48d6b7dbd74c717d55e5a691359c9902"><div class="ttname"><a href="mrcp__application_8h.html#a48d6b7dbd74c717d55e5a691359c9902">mrcp_application_message_create</a></div><div class="ttdeci">mrcp_message_t * mrcp_application_message_create(mrcp_session_t *session, mrcp_channel_t *channel, mrcp_method_id method_id)</div></div>
<div class="ttc" id="mrcp__application_8h_html_ab231cb143f6ded6e7ba2cef006b8a26f"><div class="ttname"><a href="mrcp__application_8h.html#ab231cb143f6ded6e7ba2cef006b8a26f">mrcp_application_object_get</a></div><div class="ttdeci">void * mrcp_application_object_get(const mrcp_application_t *application)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a37ed6f9b2e21e4e362047c280c9b24e6"><div class="ttname"><a href="mrcp__application_8h.html#a37ed6f9b2e21e4e362047c280c9b24e6">mrcp_application_session_terminate</a></div><div class="ttdeci">apt_bool_t mrcp_application_session_terminate(mrcp_session_t *session)</div></div>
<div class="ttc" id="apt__dir__layout_8h_html_a264d05522363404fdafebf15046abd9e"><div class="ttname"><a href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a></div><div class="ttdeci">struct apt_dir_layout_t apt_dir_layout_t</div><div class="ttdef"><b>Definition:</b> apt_dir_layout.h:38</div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html_a85be8634916586e5869023c93a2d203a"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html#a85be8634916586e5869023c93a2d203a">mrcp_app_message_dispatcher_t::on_message_receive</a></div><div class="ttdeci">apt_bool_t(* on_message_receive)(mrcp_application_t *application, mrcp_session_t *session, mrcp_channel_t *channel, mrcp_message_t *message)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:126</div></div>
<div class="ttc" id="structmpf__termination__t_html"><div class="ttname"><a href="structmpf__termination__t.html">mpf_termination_t</a></div><div class="ttdef"><b>Definition:</b> mpf_termination.h:51</div></div>
<div class="ttc" id="mrcp__types_8h_html_a70064633d038b77e0d7d982cd881b033"><div class="ttname"><a href="mrcp__types_8h.html#a70064633d038b77e0d7d982cd881b033">mrcp_method_id</a></div><div class="ttdeci">apr_size_t mrcp_method_id</div><div class="ttdef"><b>Definition:</b> mrcp_types.h:66</div></div>
<div class="ttc" id="mpf__stream_8h_html"><div class="ttname"><a href="mpf__stream_8h.html">mpf_stream.h</a></div><div class="ttdoc">MPF Bidirectional Stream. </div></div>
<div class="ttc" id="structmpf__audio__stream__vtable__t_html"><div class="ttname"><a href="structmpf__audio__stream__vtable__t.html">mpf_audio_stream_vtable_t</a></div><div class="ttdef"><b>Definition:</b> mpf_stream.h:69</div></div>
<div class="ttc" id="mrcp__application_8h_html_afc632ad88cd1f1d38a265d28d44726e2"><div class="ttname"><a href="mrcp__application_8h.html#afc632ad88cd1f1d38a265d28d44726e2">mrcp_application_create</a></div><div class="ttdeci">mrcp_application_t * mrcp_application_create(const mrcp_app_message_handler_f handler, void *obj, apr_pool_t *pool)</div></div>
<div class="ttc" id="structmrcp__channel__t_html"><div class="ttname"><a href="structmrcp__channel__t.html">mrcp_channel_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_client_session.h:97</div></div>
<div class="ttc" id="mrcp__application_8h_html_a027edb6a2dac0630a4c52c8dfb79ab84"><div class="ttname"><a href="mrcp__application_8h.html#a027edb6a2dac0630a4c52c8dfb79ab84">mrcp_application_resource_discover</a></div><div class="ttdeci">apt_bool_t mrcp_application_resource_discover(mrcp_session_t *session)</div></div>
<div class="ttc" id="mrcp__application_8h_html_aa3296a3e94fea5dcfc6a2ba458ad8a9d"><div class="ttname"><a href="mrcp__application_8h.html#aa3296a3e94fea5dcfc6a2ba458ad8a9d">mrcp_application_channel_add</a></div><div class="ttdeci">apt_bool_t mrcp_application_channel_add(mrcp_session_t *session, mrcp_channel_t *channel)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a403a690cdc78f355c137bb9ee85df65eafe7dc4a28d8c0dcc91caa8a85d8f3169"><div class="ttname"><a href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65eafe7dc4a28d8c0dcc91caa8a85d8f3169">MRCP_SIG_MESSAGE_TYPE_RESPONSE</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:46</div></div>
<div class="ttc" id="mrcp__application_8h_html_a403a690cdc78f355c137bb9ee85df65e"><div class="ttname"><a href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65e">mrcp_sig_message_type_e</a></div><div class="ttdeci">mrcp_sig_message_type_e</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:44</div></div>
<div class="ttc" id="mrcp__application_8h_html_aed58008c85f7c8f3a0976048457b85b6"><div class="ttname"><a href="mrcp__application_8h.html#aed58008c85f7c8f3a0976048457b85b6">mrcp_application_message_dispatch</a></div><div class="ttdeci">apt_bool_t mrcp_application_message_dispatch(const mrcp_app_message_dispatcher_t *dispatcher, const mrcp_app_message_t *app_message)</div></div>
<div class="ttc" id="apt_8h_html_a432919823b38eb7e2b6fa2b544fb1644"><div class="ttname"><a href="apt_8h.html#a432919823b38eb7e2b6fa2b544fb1644">APT_END_EXTERN_C</a></div><div class="ttdeci">#define APT_END_EXTERN_C</div><div class="ttdef"><b>Definition:</b> apt.h:38</div></div>
<div class="ttc" id="mrcp__application_8h_html_a10b8aac21d7734372f35e5e14ec9dac8"><div class="ttname"><a href="mrcp__application_8h.html#a10b8aac21d7734372f35e5e14ec9dac8">mrcp_application_session_id_get</a></div><div class="ttdeci">const apt_str_t * mrcp_application_session_id_get(const mrcp_session_t *session)</div></div>
<div class="ttc" id="mrcp__application_8h_html_ae17675106baeb58a6a2e1099efa76e73"><div class="ttname"><a href="mrcp__application_8h.html#ae17675106baeb58a6a2e1099efa76e73">mrcp_application_dir_layout_get</a></div><div class="ttdeci">const apt_dir_layout_t * mrcp_application_dir_layout_get(const mrcp_application_t *application)</div></div>
<div class="ttc" id="apt_8h_html_ac7b6d8df47829d778eb598e1cc52cc2a"><div class="ttname"><a href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a></div><div class="ttdeci">int apt_bool_t</div><div class="ttdef"><b>Definition:</b> apt.h:57</div></div>
<div class="ttc" id="mrcp__application_8h_html_a0066cf53cae30995df31ac2d527747c1"><div class="ttname"><a href="mrcp__application_8h.html#a0066cf53cae30995df31ac2d527747c1">mrcp_application_session_create_ex</a></div><div class="ttdeci">mrcp_session_t * mrcp_application_session_create_ex(mrcp_application_t *application, const char *profile, void *obj, apt_bool_t take_ownership, apr_pool_t *pool)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a57d185dc07d7094c73ba970b7ce71b30"><div class="ttname"><a href="mrcp__application_8h.html#a57d185dc07d7094c73ba970b7ce71b30">mrcp_application_sink_descriptor_get</a></div><div class="ttdeci">const mpf_codec_descriptor_t * mrcp_application_sink_descriptor_get(const mrcp_channel_t *channel)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a403a690cdc78f355c137bb9ee85df65eaf2f19f2c3bc2fc190ae736a4a77b8421"><div class="ttname"><a href="mrcp__application_8h.html#a403a690cdc78f355c137bb9ee85df65eaf2f19f2c3bc2fc190ae736a4a77b8421">MRCP_SIG_MESSAGE_TYPE_REQUEST</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:45</div></div>
<div class="ttc" id="structmrcp__sig__message__t_html_a31628a9c9c9d14e4b1fdfb0e9ddc5e86"><div class="ttname"><a href="structmrcp__sig__message__t.html#a31628a9c9c9d14e4b1fdfb0e9ddc5e86">mrcp_sig_message_t::status</a></div><div class="ttdeci">mrcp_sig_status_code_e status</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:89</div></div>
<div class="ttc" id="mrcp__application_8h_html_a42c243d5336cc0964dc9ab7b8368153d"><div class="ttname"><a href="mrcp__application_8h.html#a42c243d5336cc0964dc9ab7b8368153d">mrcp_application_audio_termination_create</a></div><div class="ttdeci">mpf_termination_t * mrcp_application_audio_termination_create(mrcp_session_t *session, const mpf_audio_stream_vtable_t *stream_vtable, mpf_stream_capabilities_t *capabilities, void *obj)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a202f14411cbfb96ce8feede0abe560f8"><div class="ttname"><a href="mrcp__application_8h.html#a202f14411cbfb96ce8feede0abe560f8">mrcp_application_session_update</a></div><div class="ttdeci">apt_bool_t mrcp_application_session_update(mrcp_session_t *session)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a3194b792a29893b119a5ce3a5aecf4c0"><div class="ttname"><a href="mrcp__application_8h.html#a3194b792a29893b119a5ce3a5aecf4c0">mrcp_application_session_response_code_get</a></div><div class="ttdeci">int mrcp_application_session_response_code_get(const mrcp_session_t *session)</div></div>
<div class="ttc" id="structmrcp__app__message__t_html"><div class="ttname"><a href="structmrcp__app__message__t.html">mrcp_app_message_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:94</div></div>
<div class="ttc" id="mrcp__application_8h_html_ac9f84383098ee5f93f20e70a5f3f1d36"><div class="ttname"><a href="mrcp__application_8h.html#ac9f84383098ee5f93f20e70a5f3f1d36">mrcp_application_session_object_set</a></div><div class="ttdeci">void mrcp_application_session_object_set(mrcp_session_t *session, void *obj)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a2e11a45cf385b31ec687c8affade6672"><div class="ttname"><a href="mrcp__application_8h.html#a2e11a45cf385b31ec687c8affade6672">mrcp_application_session_create</a></div><div class="ttdeci">mrcp_session_t * mrcp_application_session_create(mrcp_application_t *application, const char *profile, void *obj)</div></div>
<div class="ttc" id="structmrcp__app__message__t_html_a351a308a066e1ef2dbf6629bb5ebdc3b"><div class="ttname"><a href="structmrcp__app__message__t.html#a351a308a066e1ef2dbf6629bb5ebdc3b">mrcp_app_message_t::channel</a></div><div class="ttdeci">mrcp_channel_t * channel</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:103</div></div>
<div class="ttc" id="mrcp__application_8h_html_aa0d6fc51528904d93d5904ee25109226"><div class="ttname"><a href="mrcp__application_8h.html#aa0d6fc51528904d93d5904ee25109226">mrcp_application_session_pool_get</a></div><div class="ttdeci">apr_pool_t * mrcp_application_session_pool_get(const mrcp_session_t *session)</div></div>
<div class="ttc" id="structmpf__rtp__termination__descriptor__t_html"><div class="ttname"><a href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:85</div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html_aea6d56ac303405ee9c1126315a03df4d"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html#aea6d56ac303405ee9c1126315a03df4d">mrcp_app_message_dispatcher_t::on_channel_add</a></div><div class="ttdeci">apt_bool_t(* on_channel_add)(mrcp_application_t *application, mrcp_session_t *session, mrcp_channel_t *channel, mrcp_sig_status_code_e status)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:121</div></div>
<div class="ttc" id="structmrcp__app__message__t_html_a6ee86493eea6b80b3b062a52649ae3c5"><div class="ttname"><a href="structmrcp__app__message__t.html#a6ee86493eea6b80b3b062a52649ae3c5">mrcp_app_message_t::control_message</a></div><div class="ttdeci">mrcp_message_t * control_message</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:110</div></div>
<div class="ttc" id="mrcp__application_8h_html_ab2367a29f1c7514803dc19a42ce2f71e"><div class="ttname"><a href="mrcp__application_8h.html#ab2367a29f1c7514803dc19a42ce2f71e">mrcp_application_channel_object_get</a></div><div class="ttdeci">void * mrcp_application_channel_object_get(const mrcp_channel_t *channel)</div></div>
<div class="ttc" id="structmpf__stream__capabilities__t_html"><div class="ttname"><a href="structmpf__stream__capabilities__t.html">mpf_stream_capabilities_t</a></div><div class="ttdef"><b>Definition:</b> mpf_stream_descriptor.h:43</div></div>
<div class="ttc" id="structmrcp__sig__message__t_html_ab9ab94cdda749b1b1c28d4daa30abf15"><div class="ttname"><a href="structmrcp__sig__message__t.html#ab9ab94cdda749b1b1c28d4daa30abf15">mrcp_sig_message_t::event_id</a></div><div class="ttdeci">mrcp_sig_event_e event_id</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:87</div></div>
<div class="ttc" id="apt_8h_html_ad3d792bfc75893affad257781ea46e55"><div class="ttname"><a href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a></div><div class="ttdeci">#define APT_BEGIN_EXTERN_C</div><div class="ttdef"><b>Definition:</b> apt.h:36</div></div>
<div class="ttc" id="mrcp__application_8h_html_a04bdae0afca2298872fc3f0ae54821d6"><div class="ttname"><a href="mrcp__application_8h.html#a04bdae0afca2298872fc3f0ae54821d6">mrcp_application_channel_remove</a></div><div class="ttdeci">apt_bool_t mrcp_application_channel_remove(mrcp_session_t *session, mrcp_channel_t *channel)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a474a157d0430f8fdda8c596b3af1ee11"><div class="ttname"><a href="mrcp__application_8h.html#a474a157d0430f8fdda8c596b3af1ee11">mrcp_application_audio_stream_get</a></div><div class="ttdeci">const mpf_audio_stream_t * mrcp_application_audio_stream_get(const mrcp_channel_t *channel)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a758a8474a02805a163c03886fdf1786d"><div class="ttname"><a href="mrcp__application_8h.html#a758a8474a02805a163c03886fdf1786d">mrcp_application_destroy</a></div><div class="ttdeci">apt_bool_t mrcp_application_destroy(mrcp_application_t *application)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a303f59c4a8f0fde919e38539f45869bba84bb3c3c961613d064e6dd7bf6b11cd8"><div class="ttname"><a href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba84bb3c3c961613d064e6dd7bf6b11cd8">MRCP_SIG_STATUS_CODE_CANCEL</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:55</div></div>
<div class="ttc" id="structmrcp__sig__message__t_html_ae44f78af43f0062365360c91887244dc"><div class="ttname"><a href="structmrcp__sig__message__t.html#ae44f78af43f0062365360c91887244dc">mrcp_sig_message_t::command_id</a></div><div class="ttdeci">mrcp_sig_command_e command_id</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:85</div></div>
<div class="ttc" id="mrcp__application_8h_html_a3c79d913113116c45f4bcd43073d2675"><div class="ttname"><a href="mrcp__application_8h.html#a3c79d913113116c45f4bcd43073d2675">mrcp_sig_command_e</a></div><div class="ttdeci">mrcp_sig_command_e</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:60</div></div>
<div class="ttc" id="mrcp__types_8h_html_ac9564d152d8fd28e456c258cfff41754"><div class="ttname"><a href="mrcp__types_8h.html#ac9564d152d8fd28e456c258cfff41754">mrcp_resource_id</a></div><div class="ttdeci">apr_size_t mrcp_resource_id</div><div class="ttdef"><b>Definition:</b> mrcp_types.h:68</div></div>
<div class="ttc" id="structmrcp__app__message__t_html_a041946d43470292dadf35c88c1bf0de9"><div class="ttname"><a href="structmrcp__app__message__t.html#a041946d43470292dadf35c88c1bf0de9">mrcp_app_message_t::descriptor</a></div><div class="ttdeci">mrcp_session_descriptor_t * descriptor</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:105</div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html_a2377c35b6ecc11599a41b42cfa2f0117"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html#a2377c35b6ecc11599a41b42cfa2f0117">mrcp_app_message_dispatcher_t::on_session_terminate</a></div><div class="ttdeci">apt_bool_t(* on_session_terminate)(mrcp_application_t *application, mrcp_session_t *session, mrcp_sig_status_code_e status)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:118</div></div>
<div class="ttc" id="mrcp__application_8h_html_ac727ceabb32309142243aff8b1afa1d6"><div class="ttname"><a href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6">mrcp_app_message_type_e</a></div><div class="ttdeci">mrcp_app_message_type_e</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:75</div></div>
<div class="ttc" id="mrcp__application_8h_html_a303f59c4a8f0fde919e38539f45869bb"><div class="ttname"><a href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bb">mrcp_sig_status_code_e</a></div><div class="ttdeci">mrcp_sig_status_code_e</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:51</div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html_a59fb112782f367b44f01eb6bee12490b"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html#a59fb112782f367b44f01eb6bee12490b">mrcp_app_message_dispatcher_t::on_terminate_event</a></div><div class="ttdeci">apt_bool_t(* on_terminate_event)(mrcp_application_t *application, mrcp_session_t *session, mrcp_channel_t *channel)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:129</div></div>
<div class="ttc" id="mrcp__application_8h_html_a6f9c682a32d80485395a42970a26e2f3"><div class="ttname"><a href="mrcp__application_8h.html#a6f9c682a32d80485395a42970a26e2f3">mrcp_application_rtp_descriptor_get</a></div><div class="ttdeci">mpf_rtp_termination_descriptor_t * mrcp_application_rtp_descriptor_get(const mrcp_channel_t *channel)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a303f59c4a8f0fde919e38539f45869bba502f4e523dc78289fffdca1a94cf8448"><div class="ttname"><a href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba502f4e523dc78289fffdca1a94cf8448">MRCP_SIG_STATUS_CODE_TERMINATE</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:54</div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html_ad7400c03ac5b8bf31f0cadbd87624391"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html#ad7400c03ac5b8bf31f0cadbd87624391">mrcp_app_message_dispatcher_t::on_channel_remove</a></div><div class="ttdeci">apt_bool_t(* on_channel_remove)(mrcp_application_t *application, mrcp_session_t *session, mrcp_channel_t *channel, mrcp_sig_status_code_e status)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:123</div></div>
<div class="ttc" id="mrcp__application_8h_html_a66a658f72b55dbb732061e76f6f8fb2d"><div class="ttname"><a href="mrcp__application_8h.html#a66a658f72b55dbb732061e76f6f8fb2d">mrcp_application_source_termination_create</a></div><div class="ttdeci">mpf_termination_t * mrcp_application_source_termination_create(mrcp_session_t *session, const mpf_audio_stream_vtable_t *stream_vtable, mpf_codec_descriptor_t *codec_descriptor, void *obj)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a86782ad2a4fc6ed228759974bc62b001"><div class="ttname"><a href="mrcp__application_8h.html#a86782ad2a4fc6ed228759974bc62b001">mrcp_application_channel_create</a></div><div class="ttdeci">mrcp_channel_t * mrcp_application_channel_create(mrcp_session_t *session, mrcp_resource_id resource_id, mpf_termination_t *termination, mpf_rtp_termination_descriptor_t *rtp_descriptor, void *obj)</div></div>
<div class="ttc" id="mrcp__application_8h_html_a303f59c4a8f0fde919e38539f45869bba063f44b76be5552fe1248c11d4edbb54"><div class="ttname"><a href="mrcp__application_8h.html#a303f59c4a8f0fde919e38539f45869bba063f44b76be5552fe1248c11d4edbb54">MRCP_SIG_STATUS_CODE_FAILURE</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:53</div></div>
<div class="ttc" id="mrcp__application_8h_html_ac727ceabb32309142243aff8b1afa1d6ac3d51554502aba17deaeeb6d8a9e5c0a"><div class="ttname"><a href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6ac3d51554502aba17deaeeb6d8a9e5c0a">MRCP_APP_MESSAGE_TYPE_SIGNALING</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:76</div></div>
<div class="ttc" id="structapt__str__t_html"><div class="ttname"><a href="structapt__str__t.html">apt_str_t</a></div><div class="ttdef"><b>Definition:</b> apt_string.h:36</div></div>
<div class="ttc" id="structmrcp__application__t_html"><div class="ttname"><a href="structmrcp__application__t.html">mrcp_application_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_client_session.h:158</div></div>
<div class="ttc" id="mrcp__application_8h_html_a27f481ce7618aa4605b97df0f45c5c68"><div class="ttname"><a href="mrcp__application_8h.html#a27f481ce7618aa4605b97df0f45c5c68">mrcp_app_message_handler_f</a></div><div class="ttdeci">apt_bool_t(* mrcp_app_message_handler_f)(const mrcp_app_message_t *app_message)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:41</div></div>
<div class="ttc" id="structmrcp__session__descriptor__t_html"><div class="ttname"><a href="structmrcp__session__descriptor__t.html">mrcp_session_descriptor_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_session_descriptor.h:40</div></div>
<div class="ttc" id="mrcp__application_8h_html_ad6614e5fead297d54c459d365d6ed139"><div class="ttname"><a href="mrcp__application_8h.html#ad6614e5fead297d54c459d365d6ed139">mrcp_application_sink_termination_create</a></div><div class="ttdeci">mpf_termination_t * mrcp_application_sink_termination_create(mrcp_session_t *session, const mpf_audio_stream_vtable_t *stream_vtable, mpf_codec_descriptor_t *codec_descriptor, void *obj)</div></div>
<div class="ttc" id="structmrcp__sig__message__t_html_a79f824e331394c2348f6c519e767a494"><div class="ttname"><a href="structmrcp__sig__message__t.html#a79f824e331394c2348f6c519e767a494">mrcp_sig_message_t::message_type</a></div><div class="ttdeci">mrcp_sig_message_type_e message_type</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:83</div></div>
<div class="ttc" id="mrcp__application_8h_html_aea8742e4f26002fa2e5e08c725896de2"><div class="ttname"><a href="mrcp__application_8h.html#aea8742e4f26002fa2e5e08c725896de2">mrcp_application_source_descriptor_get</a></div><div class="ttdeci">const mpf_codec_descriptor_t * mrcp_application_source_descriptor_get(const mrcp_channel_t *channel)</div></div>
<div class="ttc" id="mrcp__application_8h_html_ac727ceabb32309142243aff8b1afa1d6a3cb99afb70f466835148e6169fef9869"><div class="ttname"><a href="mrcp__application_8h.html#ac727ceabb32309142243aff8b1afa1d6a3cb99afb70f466835148e6169fef9869">MRCP_APP_MESSAGE_TYPE_CONTROL</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:77</div></div>
<div class="ttc" id="mrcp__client__types_8h_html"><div class="ttname"><a href="mrcp__client__types_8h.html">mrcp_client_types.h</a></div><div class="ttdoc">MRCP Client Types. </div></div>
<div class="ttc" id="structmrcp__app__message__t_html_abd5fd40915a5fc7a25721d77abc98594"><div class="ttname"><a href="structmrcp__app__message__t.html#abd5fd40915a5fc7a25721d77abc98594">mrcp_app_message_t::session</a></div><div class="ttdeci">mrcp_session_t * session</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:101</div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html">mpf_rtp_descriptor.h</a></div><div class="ttdoc">MPF RTP Stream Descriptor. </div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html_a74cbaa16872fec65cae3331092cfb7c5"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html#a74cbaa16872fec65cae3331092cfb7c5">mrcp_app_message_dispatcher_t::on_resource_discover</a></div><div class="ttdeci">apt_bool_t(* on_resource_discover)(mrcp_application_t *application, mrcp_session_t *session, mrcp_session_descriptor_t *descriptor, mrcp_sig_status_code_e status)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:132</div></div>
<div class="ttc" id="structmrcp__app__message__t_html_a6367f9c2244de3c5ea54dd86c62ac209"><div class="ttname"><a href="structmrcp__app__message__t.html#a6367f9c2244de3c5ea54dd86c62ac209">mrcp_app_message_t::sig_message</a></div><div class="ttdeci">mrcp_sig_message_t sig_message</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:108</div></div>
<div class="ttc" id="mrcp__application_8h_html_a01f412c63628b93da4b822bf6b60892a"><div class="ttname"><a href="mrcp__application_8h.html#a01f412c63628b93da4b822bf6b60892a">mrcp_sig_event_e</a></div><div class="ttdeci">mrcp_sig_event_e</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:69</div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html">mrcp_app_message_dispatcher_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:114</div></div>
<div class="ttc" id="mrcp__application_8h_html_a1641adef731b4e9e1dadfd915d91b0fd"><div class="ttname"><a href="mrcp__application_8h.html#a1641adef731b4e9e1dadfd915d91b0fd">mrcp_application_message_send</a></div><div class="ttdeci">apt_bool_t mrcp_application_message_send(mrcp_session_t *session, mrcp_channel_t *channel, mrcp_message_t *message)</div></div>
<div class="ttc" id="structmrcp__app__message__t_html_a712d7d9a6d02db9371cd0686a2325ed4"><div class="ttname"><a href="structmrcp__app__message__t.html#a712d7d9a6d02db9371cd0686a2325ed4">mrcp_app_message_t::application</a></div><div class="ttdeci">mrcp_application_t * application</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:99</div></div>
<div class="ttc" id="structmrcp__app__message__dispatcher__t_html_a6b912bdbff092084c59f019261cc1ab3"><div class="ttname"><a href="structmrcp__app__message__dispatcher__t.html#a6b912bdbff092084c59f019261cc1ab3">mrcp_app_message_dispatcher_t::on_session_update</a></div><div class="ttdeci">apt_bool_t(* on_session_update)(mrcp_application_t *application, mrcp_session_t *session, mrcp_sig_status_code_e status)</div><div class="ttdef"><b>Definition:</b> mrcp_application.h:116</div></div>
<div class="ttc" id="structmrcp__sig__message__t_html"><div class="ttname"><a href="structmrcp__sig__message__t.html">mrcp_sig_message_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_application.h:81</div></div>
<div class="ttc" id="structmrcp__message__t_html"><div class="ttname"><a href="structmrcp__message__t.html">mrcp_message_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_message.h:37</div></div>
<div class="ttc" id="structmpf__codec__descriptor__t_html"><div class="ttname"><a href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a></div><div class="ttdef"><b>Definition:</b> mpf_codec_descriptor.h:63</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
